<?php
$this->breadcrumbs=array(
Shop::t('Update Customer Information')
);

?>
<h2> <?php echo Shop::t('Update Customer Information'); ?> </h2>

<?php
if(!isset($deliveryAddress) || $deliveryAddress === null)
    $deliveryAddress = new DeliveryAddress;

if(!isset($billingAddress) || $billingAddress === null)
    $billingAddress = new BillingAddress;

echo $this->renderPartial('/customer/_form', array(
    'action' => isset($action) ? $action : null,
    'customer' => $customer,
    'billingAddress' => $billingAddress,
    'deliveryAddress' => $deliveryAddress,
    'countryList' => $countryList,
)); ?>
